from common.com import Click,input_data,GetUrl,read_yml


yml = read_yml('baidu.yml')

def open_wurl(driver):
    GetUrl(driver, yml['url'])#打开Url

def baidu(driver):
    input_data(driver, yml['kw'][0], yml['kw'][1], yml['kw'][2])
    Click(driver, yml['su'][0], yml['su'][1])
